package com.tianji.exam.domain.vo;

import com.tianji.api.dto.exam.QuestionDTO;
import com.tianji.exam.domain.po.Question;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(description = "考试记录详情")
public class ExamDetailVO {

    @ApiModelProperty("考试记录id")
    private Long id;

    @ApiModelProperty("学员得分")
    private Integer score;

    @ApiModelProperty("学员答案，选择题正确答案1到10，如果有多个答案，中间使用逗号隔开，如果是判断题，1：代表正确，其他代表错误")
    private String answer;

    @ApiModelProperty("考试评语")
    private String comment;

    @ApiModelProperty("课程名称")
    private String sectionName;

    @ApiModelProperty("章节名称")
    private String examDetailsName;

    @ApiModelProperty("学员名称")
    private String userName;

    @ApiModelProperty("考试用时")
    private String userTime;

    @ApiModelProperty("提交时间")
    private String commitTime;

    @ApiModelProperty("问题详情")
    private List<QuestionDTO> question;
}
